﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WZLY
{

  

    class ZhuangBei:DLMB
    {
        public enum EnumZBLeiXing
        {
            BSTK,
            LSTK,
            HSTK
        }
        public enum EnumZBLeiXing1
        {
            BSSY,
            LSSY,
            HSSY
        }
        public enum EnumZBLeiXing2
        {
            BSKZ,
            LSKZ,
            HSKZ
        }
        public enum EnumZBLeiXing3
        {
            BSSZ,
            LSSZ,
            HSSZ
        }
        public enum EnumZBLeiXing4
        {
            BSXZ,
            LSXZ,
            HSXZ
        }
        public EnumZBLeiXing TKZB { get; set; }
        public EnumZBLeiXing1 SYZB { get; set; }
        public EnumZBLeiXing2 KZZB { get; set; }
        public EnumZBLeiXing3 SZZB { get; set; }
        public EnumZBLeiXing4 XZZB { get; set; }

        public ZhuangBei(EnumZBLeiXing leiXing, EnumZBLeiXing1 leiXing1, EnumZBLeiXing2 leiXing2, EnumZBLeiXing3 leiXing3, EnumZBLeiXing4 leiXing4)
        {
            this.TKZB = leiXing;
            switch (leiXing)
            {
                case EnumZBLeiXing.BSTK:
                    this.WuGong = 20;
                    break;
                case EnumZBLeiXing.LSTK:
                    this.XueLiang = 100;
                    this.FaGong = 20;
                    break;
                case EnumZBLeiXing.HSTK:
                    this.XueLiang = 200;
                    this.WuGong = 20;
                    this.WuKang = 50;
                    break;
                default:
                    break;

            }
            this.SYZB = leiXing1;
            switch (leiXing1)
            {
                case EnumZBLeiXing1.BSSY:
                    this.WuGong = 22;
                    break;
                case EnumZBLeiXing1.LSSY:
                    this.XueLiang = 150;
                    this.FaGong = 20;
                    break;
                case EnumZBLeiXing1.HSSY:
                    this.XueLiang = 200;
                    this.WuGong = 20;
                    this.WuKang = 20;
                    break;
                default:
                    break;

            }
            this.KZZB = leiXing2;
            switch (leiXing2)
            {
                case EnumZBLeiXing2.BSKZ:
                    this.WuGong = 10;
                    break;
                case EnumZBLeiXing2.LSKZ:
                    this.XueLiang = 100;
                    this.FaGong = 20;
                    break;
                case EnumZBLeiXing2.HSKZ:
                    this.XueLiang = 200;
                    this.WuGong = 20;
                    this.WuKang = 30;
                    break;
                default:
                    break;

            }
            this.SZZB = leiXing3;
            switch (leiXing3)
            {
                case EnumZBLeiXing3.BSSZ:
                    this.WuGong = 20;
                    break;
                case EnumZBLeiXing3.LSSZ:
                    this.XueLiang = 100;
                    this.FaGong = 25;
                    break;
                case EnumZBLeiXing3.HSSZ:
                    this.XueLiang = 200;
                    this.WuGong = 20;
                    this.WuKang = 30;
                    break;
                default:
                    break;

            }
            this.XZZB = leiXing4;
            switch (leiXing4)
            {
                case EnumZBLeiXing4.BSXZ:
                    this.WuGong = 10;
                    break;
                case EnumZBLeiXing4.LSXZ:
                    this.XueLiang = 100;
                    this.FaGong = 20;
                    break;
                case EnumZBLeiXing4.HSXZ:
                    this.XueLiang = 200;
                    this.WuGong = 20;
                    this.WuKang = 50;
                    break;
                default:
                    break;

            }
        }
    }
}